<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link  rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.min.css" />
    <script type="text/javascript" src="__PUBLIC__/js/jquery-3.1.1.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/bootstrap.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/layer.js"></script>
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>小强博客</title>
    <style type="text/css">
        a:hover{
            text-decoration:none;
        }
         p.content{
            height: 60px;
            overflow: hidden;
        }
        .nav-tabs{
            border-bottom: 0px;
        }
        .nav-tabs li a{
            float: left;
            border-radius: 0;
            margin-right: 0;
            color:#3985BF;
        }
        .navbar{
            margin-bottom: 0;
        }
        .nav-tabs li a:hover{
            color:#5386C8;
        }
    </style>
</head>
<nav class="navbar navbar-default ">
    <div class="container">
        <ul class="nav nav-tabs">
            <li class=""><a href="{:U('Index/index')}" class="active" >首页 </a></li>
            <foreach name="navs" item="n">
            <li class=""><a href="{:U($n['url'])}">{$n['name']}</a></li>
            </foreach>
        </ul>
    </div>
</nav>